SpringBootApplication cannot be resolved to a type |
您所在的位置:网站首页 › var cannot be resolved › SpringBootApplication cannot be resolved to a type |
参考了网上其他人的经验(https://blog.csdn.net/weixin_42575653/article/details/81164798),错误原因是因为springboot的包冲突了所致。需要删掉 repository\org\springframework\boot 目录下的spring-boot-autoconfigure 文件夹,然后在工程中maven -> update project |
今日新闻 |
点击排行 |
|
推荐新闻 |
图片新闻 |
|
专题文章 |
CopyRight 2018-2019 实验室设备网 版权所有 win10的实时保护怎么永久关闭 |